package com.ruoyi.admin.domain.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.admin.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 排单(Scheduling) 实体类
 *
 * @author jianhan
 * @version V1.0
 * @date 2023-02-06 17:14:30
 */

@Data
@TableName("tb_scheduling")
public class SchedulingModel extends BaseEntity {


    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;

    /**
     * 货号id
     */
    @ApiModelProperty(hidden = true)
    private Long articleId;

    /**
     * 客户供应商id
     */
    @ApiModelProperty(hidden = true)
    private Long supplierId;

    /**
     * 订单编号
     */
    @ApiModelProperty(hidden = true)
    private String orderNumber;

    /**
     * 类型1采购 2销售
     */
    @ApiModelProperty(hidden = true)
    private String type;

    /**
     * 码数
     */
    @ApiModelProperty(hidden = true)
    private String size;

    /**
     * 数量
     */
    @ApiModelProperty(hidden = true)
    private Long number;

    /**
     * 单价
     */
    @ApiModelProperty(hidden = true)
    private BigDecimal price;

    /**
     * 总价
     */
    @ApiModelProperty(hidden = true)
    private BigDecimal totalPrice;

    /**
     * 状态（0正在处理 1已处理 2已撤销）
     */
    @ApiModelProperty(hidden = true)
    private String status;

    /**
     * 备注
     */
    @ApiModelProperty(hidden = true)
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ApiModelProperty(hidden = true)
    private Boolean delFlag;

}
